<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="header.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<h2>账户列表</h2>
    <table>
        <tr>
            <td>账号</td>
            <td>姓名</td>
            <td>专业</td>
            <td>操作</td>
        </tr>
        <c:forEach items="${sessionScope.users}" var="u">
          <tr>
              <td>${u.name}</td>
              <td>${u.trueName}</td>
              <td>${u.major}</td>
              <td><a href="useredit.do?uid=${u.uid}">编辑</a> <a href="#"> 删除</a> </td>
          </tr>
        </c:forEach>
    </table>
    </body>
    </html>
